/**
 * Copyright � 2012 GestureSoft. ALL RIGHTS RESERVED.
 * This file contains proprietary and GestureSoft CONFIDENTIAL Information.
 * Use, disclosure or reproduction is prohibited.
 * 
 * @fileName TileEvent.as
 * @creationDate Aug 8, 2012
 * @author 
 * @version 1.0
 */
package com.gesturesoft.imultimax.events
{
	
	import flash.events.Event;
	
	public class TileEvent extends Event
	{
		
		public static const ITEM_CLICK:String = "item_click";
		public static const ITEM_CLICK_MAIN:String = "item_clickMain";
		public static const ITEM_CLICK_CURRENCY:String = "item_clickCurrency";
		public static const ITEM_CLICK_CARD:String = "item_clickCard";
		
		private var _data:Object;
		
		public function TileEvent(type:String, data:Object, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			
			super(type, bubbles, cancelable);
			this._data = data;
			
		}
		
		override public function clone():Event
		{
			
			return new TileEvent(type,bubbles,cancelable);
			
		}
		
		public function get data():Object
		{
			
			return this._data;
			
		}
		
	}
	
}